package com.jdzy.model.teacher.pojos;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(description = "用户角色表")
@TableName("sys_user_role")
public class SysRoleUser extends BaseEntity {
    @ApiModelProperty(value = "角色id")
    @TableField(value = "role_id")
    private Long roleId;       // 角色id
    @ApiModelProperty(value = "用户id")
    @TableField(value = "user_id")
    private Long userId;       // 用户id

}
